<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
	<h1>Fantasy surf</h1>
	
    <div>
        <ul>
            <li><a href="/fb/">Profile</a></li>
            <li><a href="/fb/events/">Competitions</a></li>
            <li><a href="/fb/shop/">Shop</a></li>
        </ul>
    </div>

    <div>
        <h3>{{event.name}}</h3>
        <div>starts {{event.when}}</div>
        <img src="{{event.img}}" width="315px" height="236px"  />
        <div>Conditions</div>
        <ul>
            <li>Wave: {{event.conditions.wave}}</li>
            <li>Wind: {{event.conditions.wind}}</li>
            <li>Water temperature: {{event.conditions.wtemp}}</li>
        </ul>
        <div><b>Participants</b>({{event.number_participants}})<br />
        	<ul>
        		{% for participant in event.participants %}
        			<li>{{participant}}</li>
        		{% endfor %}
        	</ul>
        </div>
        <div>Participation fee: {{event.fee}}</div>
        <div><a href="/fb/events/participate/{{event.id}}/">participate</a></div>
    </div>
</body>
</html>